package sampleapp.web;

import sampleapp.dao.JpaDaoModule;
import sampleapp.logic.LogicModule;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;

public class SampleGuiceServletContextListener extends
		GuiceServletContextListener {

	@Override
	protected Injector getInjector() {
		return Guice.createInjector(new WebModule(), new LogicModule(),
				new JpaDaoModule());
	}

}
